import axios from "@/libs/api.request"

export const getPerssionList = (data) => {
    return axios.request({
        url: "/user/perm",
        params: data,
        methods: "get"
    });
}

export const addPerssion = (data) => {
    return axios.request({
        url: "/user/perm",
        data: data,
        methods: "post"
    });
}
